package com.cfwx.thread;

public class StartTask {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Task t = new Task();
		t.start();
		System.out.println("开启主线程");
		try {
			Thread.sleep(10*1000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		t.stopTask();

	}

}
